﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
	xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
	mc:Ignorable="d"
	x:Class="EarthWatchers.SL.GUI.Controls.LayerControl" Height="Auto" Margin="2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">

	<Grid x:Name="LayoutRoot" VerticalAlignment="Top" Height="45" HorizontalAlignment="Stretch" Margin="0,0,2,2" >
		<Rectangle Fill="#FF7C7C7C" Margin="0" Stroke="White"/>
		<Slider x:Name="sliderOpacity" ValueChanged="SliderOpacityValueChanged"  VerticalAlignment="Center" BorderThickness="0" Margin="20,14,4,0" Value="100" Minimum="0" Maximum="100"/>
        <CheckBox x:Name="chkOnOff" Unchecked="ChkOnOffUnchecked" Checked="ChkOnOffChecked" Content="" Margin="4,23,0,0" IsChecked="True" VerticalAlignment="Top" BorderThickness="1,0,1,3" HorizontalAlignment="Left" Width="14" d:LayoutOverrides="HorizontalAlignment"/>
		<TextBlock x:Name="txtLayerName" MouseEnter="TxtLayerNameMouseEnter" MouseLeave="TxtLayerNameMouseLeave" HorizontalAlignment="Left" Margin="4,2,3,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" FontSize="10.667" Foreground="#FFEEEEEE" FontFamily="Segoe UI"/>
		<Button x:Name="btnDelete" Margin="0,-3,-2,0" Style="{StaticResource ImageButton}" HorizontalAlignment="Right" VerticalAlignment="Top" Height="22" Width="22" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" ToolTipService.ToolTip="Remove Layer">
			<Image Margin="0" MouseLeftButtonDown="ImageMouseLeftButtonDown" Source="/EarthWatchers.SL;component/Resources/Images/delete.png" Stretch="Fill"/>
		</Button>
		<Canvas x:Name="forestpeat" Margin="4,14,203,0" VerticalAlignment="Top" Background="#D8B4B4B4" Height="96" Visibility="Collapsed">
			<Image Height="95" Source="/EarthWatchers.SL;component/Resources/Images/forest_and_peat.png" Stretch="Fill"/>
		</Canvas>
		<Canvas x:Name="palmrubber" Margin="4,14,0,0" VerticalAlignment="Top" Background="#D8B4B4B4" Height="41" HorizontalAlignment="Left" Width="91" Visibility="Collapsed">
			<Image Height="41" Source="/EarthWatchers.SL;component/Resources/Images/palmrubber.png" Stretch="Fill" Width="89"/>
		</Canvas>
	</Grid>
</UserControl>